package com.aaa.service.systemmanage;

import com.aaa.entity.MenuTree;
import com.aaa.entity.systemmanage.Menu;

import java.util.List;
import java.util.Map;


public interface MenuService {
    //查询所有
    List<Menu> queryAll();

    //查询所有名字
    Map<String, Object> queryMenuByUsername(String username);

    //查询所有到下拉框
    List<MenuTree> queryAllToSelect();

    //查询到下拉框
    List<Integer> querySelect(int roleId);

    //修改
    boolean update(Menu menu);

}
